//
//  ReadCell.m
//  Leisure
//
//  Created by xalo on 16/6/29.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "ReadCell.h"


@interface ReadCell  ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *label;//题目

@end
@implementation ReadCell

//根据model来设置cell的显示
-(void)setCellWithModel:(ReadModel *)readModel{
    
    self.label.text = readModel.name;
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:readModel.coverimg]];
    
}
- (void)awakeFromNib {
    // Initialization code
}

@end
